package com.example.movie.common.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity
class Agent {

    @PrimaryKey
    var agentId = 0

    @ColumnInfo(name = "agentName")
    var agentName: String? = null

    @ColumnInfo(name = "agentIcon")
    var agentIcon: String? = null

    @ColumnInfo(name = "carPark")
    var carPark: String? = null

    @ColumnInfo(name = "glasses")
    var glasses: String? = null

    @ColumnInfo(name = "children")
    var children: String? = null

    @ColumnInfo(name = "invalid")
    var invalid = 0

    @ColumnInfo(name = "contact")
    var contact: String? = null

    @ColumnInfo(name = "mobile")
    var mobile: String? = null

    @ColumnInfo(name = "address")
    var address: String? = null

    @ColumnInfo(name = "registerTime")
    var registerTime: String? = null

    @ColumnInfo(name = "provinceId")
    var provinceId = 0

    @ColumnInfo(name = "cityId")
    var cityId = 0

    @ColumnInfo(name = "provinceName")
    var provinceName: String? = null

    @ColumnInfo(name = "cityName")
    var cityName: String? = null

    @ColumnInfo(name = "star")
    var star = 0

    @ColumnInfo(name = "lowestPrice")
    var lowestPrice = 0f

}